package com.library.service;

import com.library.bean.Book;
import com.library.bean.Page;

public interface BookService {
	/**
	 * 根据需求获取数据
	 * @param pageNum
	 * @param pageSize
	 * @param bookId
	 * @param bookNo
	 * @param bookName
	 * @param bookWriter
	 * @param minBookPrice
	 * @param maxBookPrice
	 * @param bookType
	 * @return
	 */
	Page<Book> getBookAll(int pageNum ,int pageSize ,String bookId , String bookNo,String bookName,String bookWriter,double minBookPrice,double maxBookPrice,String bookType);
	
	/**
	 * 根据Id删除书本
	 * @param bookId
	 * @return
	 */
	int deleteBookByBookId(int bookId);
}
